package com.tyylab.kestrel.framework.spring.rpc.feign.config;

import com.tyylab.kestrel.framework.spring.rpc.feign.impl.FeignHeaderInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Feign header configuration
 * Registers FeignHeaderInterceptor for header propagation
 * 
 * @author tyylab
 */
@Configuration
public class FeignHeaderConfig {
    
    @Bean
    public FeignHeaderInterceptor feignHeaderInterceptor() {
        return new FeignHeaderInterceptor();
    }
} 